package mapper;

import com.root.health.bean.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
@Component
public interface UserMapper {
    public UserInfo getUser(String username);//获取登录用户信息
    public UserInfo getUserById(long userid);//通过id获取用户信息
    public void userUpd(String username, String password, String phone, String realname, String role, String gender,long userid);//修改用户信息
    //public Boolean Role(UserInfo userInfo);//判断用户角色
}
